//
//  ListItem.h
//  kankanVideo
//
//  Created by wangbo on 5/21/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

@protocol ListItemDelegate <NSObject>
@required
-(void)showVideoList:(NSString*)classid withTitle:(NSString*)theTitle;
@end

#import <UIKit/UIKit.h>

@interface ListItem : UIView{
    NSString *title;
    NSString *classid;
    NSString *imgURL;
    UIImageView *defaultImageView;
}
@property(nonatomic,assign) id<ListItemDelegate> delegate;
@property(nonatomic,retain) UIImageView *image;
@property(nonatomic,retain) NSString *classid;
@property(nonatomic,retain) NSString *title;
@property(nonatomic,retain) NSString *imgURL;
@property(nonatomic,retain) UIButton *btn;

-(void)imageWithURL:(NSString *)url;
//-(id)initWithFrame:(CGRect)frame withImageURL:(NSString *)imageURL;
-(id)initWithFrame:(CGRect)frame withParam:(NSMutableArray*)param;

@end
